package com.gxa.mapper;

import com.gxa.pojo.Level1;
import com.gxa.pojo.Level2;

import java.util.List;
import java.util.Map;

public interface Level1Mapper {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(Level1 record);

    Level1 selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Level1 record);

//    List<Level1> selectAll();

    Level1 selectByName(String name);

    List<Level2> selectJunior(Integer id);

    List<Map<Object,Object>> selectCount();

    Integer deleteBatch(List<Integer> arr);
}